package com.dingcan.biao3;

import java.sql.SQLException;

public interface NewsDao {
    //查看信息
    public void getNewsByTitle();
    //增加信息
    public void addNews( String name,int num,String time,String address,String price,String state);

    //删除信息
    public void deleteNews(int caidan_id);
    //改变信息
    public void updateNews(int id, String state) throws SQLException;
}
